home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XQueryTree.z / XQueryTree
Encoding:
Text File  |  1998-10-30  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXQQQQuuuueeeerrrryyyyTTTTrrrreeeeeeee((((3333XXXX11111111))))   XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))    XXXXQQQQuuuueeeerrrryyyyTTTTrrrreeeeeeee((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XQueryTree - query window tree information
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           Status XQueryTree(_d_i_s_p_l_a_y, _w, _r_o_o_t__r_e_t_u_r_n, _p_a_r_e_n_t__r_e_t_u_r_n,
  13.           _c_h_i_l_d_r_e_n__r_e_t_u_r_n, _n_c_h_i_l_d_r_e_n__r_e_t_u_r_n)
  14.                 Display *_d_i_s_p_l_a_y;
  15.                 Window _w;
  16.                 Window *_r_o_o_t__r_e_t_u_r_n;
  17.                 Window *_p_a_r_e_n_t__r_e_t_u_r_n;
  18.                 Window **_c_h_i_l_d_r_e_n__r_e_t_u_r_n;
  19.                 unsigned int *_n_c_h_i_l_d_r_e_n__r_e_t_u_r_n;
  20.  
  21.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  22.           _c_h_i_l_d_r_e_n__r_e_t_u_r_n
  23.                     Returns the list of children.
  24.  
  25.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  26.  
  27.           _n_c_h_i_l_d_r_e_n__r_e_t_u_r_n
  28.                     Returns the number of children.
  29.  
  30.           _p_a_r_e_n_t__r_e_t_u_r_n
  31.                     Returns the parent window.
  32.  
  33.           _r_o_o_t__r_e_t_u_r_n
  34.                     Returns the root window.
  35.  
  36.           _w         Specifies the window whose list of children, root,
  37.                     parent, and number of children you want to obtain.
  38.  
  39.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  40.           The _X_Q_u_e_r_y_T_r_e_e function returns the root ID, the parent
  41.           window ID, a pointer to the list of children windows (NULL
  42.           when there are no children), and the number of children in
  43.           the list for the specified window.  The children are listed
  44.           in current stacking order, from bottom-most (first) to top-
  45.           most (last).  _X_Q_u_e_r_y_T_r_e_e returns zero if it fails and
  46.           nonzero if it succeeds.  To free a non-NULL children list
  47.           when it is no longer needed, use _X_F_r_e_e.
  48.  
  49.      BBBBUUUUGGGGSSSS
  50.           This really should return a screen *, not a root window ID.
  51.  
  52.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  53.           XFree(3X11), XGetWindowAttributes(3X11), XQueryPointer(3X11)
  54.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.